package com.example.demo.entity;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Date;
import java.util.List;


public class Category {

  private Long cid;
  private String cname;
  private String cimg;
  private Long isshow;
  private List<Goods> goodsList;
  public List<Goods> getGoodsList(){return goodsList;}
  public void setGoodsList(List<Goods> goodsList){
    this.goodsList = goodsList;
  }
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private java.util.Date createTime;
  private String createBy;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private java.util.Date updateTime;

  private String updateBy;


  public Long getCid() {
    return cid;
  }

  public void setCid(Long cid) {
    this.cid = cid;
  }


  public String getCname() {
    return cname;
  }

  public void setCname(String cname) {
    this.cname = cname;
  }


  public String getCimg() {
    return cimg;
  }

  public void setCimg(String cimg) {
    this.cimg = cimg;
  }


  public Long getIsshow() {
    return isshow;
  }

  public void setIsshow(Long isshow) {
    this.isshow = isshow;
  }


  public java.util.Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.util.Date createTime) {
    this.createTime = createTime;
  }


  public String getCreateBy() {
    return createBy;
  }

  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }


  public java.util.Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.util.Date updateTime) {
    this.updateTime = updateTime;
  }


  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }

}
